﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations;
using System.Text;

namespace Db8.Data
{
    [Table("Keywords")]
    public class Keyword
    {
        [Key]
        public int KeywordId { get; set; }

        [Required]
        [StringLength(45, ErrorMessage = "Keyword must be 45 characters or fewer")]
        [Display(Name = "Keyword")]
        public string Value { get; set; }

        public int ClaimCount { get; set; }
    }
}
